""" -*- coding: utf-8 -*-"""
# extensions.py
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate

# 创建 SQLAlchemy 实例
db = SQLAlchemy()

# 初始化迁移对象
migrate = Migrate()

def extentisons_init_app(app):
    db.init_app(app)
    migrate.init_app(app, db)